Skip to content

Conversation

@caarlos0
Copy link
Contributor

Describe the pull request

Hardening: adds --end-of-options in every command in which a user-provided argument could be interpreted as an option (e.g. --output=somefile in CommitByRevision/Log.

Checklist

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledge the Contributing guide.
  • I have added test cases to cover the new code.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 requested a review from a team as a code owner August 21, 2025 17:21
@unknwon
Copy link
Member

unknwon commented Nov 19, 2025

Close and re-open see if it re-triggers CI.

@unknwon unknwon closed this Nov 19, 2025
@unknwon unknwon reopened this Nov 19, 2025
Copy link
Member

@unknwon unknwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@unknwon unknwon merged commit 96a3124 into gogs:master Nov 19, 2025
4 checks passed
@caarlos0 caarlos0 deleted the end-of-opts branch November 19, 2025 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants